export const alarm = [
  {
    path: '/pileSafetyAlarmList',
    name: 'pileSafetyAlarmList',
    component: () =>
      import('@/pages/alarmManagement/pileSafetyAlarm/pileSafetyAlarmList.vue'),
    meta: {
      title: '告警中心+电桩安全告警',
      permission: 'pileSafetyAlarmList.see',
    },
  },
  {
    path: '/vehicleAlarmList',
    name: 'vehicleAlarmList',
    component: () =>
      import('@/pages/alarmManagement/vehicleAlarm/vehicleAlarmList.vue'),
    meta: {
      title: '告警中心+车辆告警',
      permission: 'vehicleAlarmList.see',
    },
  },
  {
    path: '/accountAlarmList',
    name: 'accountAlarmList',
    component: () =>
      import('@/pages/alarmManagement/accountAlarm/accountAlarmList.vue'),
    meta: {
      title: '告警中心+账户告警',
      permission: 'accountAlarmList.see',
    },
  },
  {
    path: '/operationalAlarmList',
    name: 'operationalAlarmList',
    component: () =>
      import('@/pages/alarmManagement/operationalAlarm/operationalAlarmList.vue'),
    meta: {
      title: '告警中心+运营告警',
      permission: 'operationalAlarmList.see',
    },
  },
  {
    path: '/alarmSettingList',
    name: 'alarmSettingList',
    component: () =>
      import('@/pages/alarmManagement/alarmSetting/alarmSettingList.vue'),
    meta: {
      title: '告警中心+告警设置',
      permission: 'alarmSettingList.see',
    },
  },
  {
    path: '/alarmSettingAdd',
    name: 'alarmSettingAdd',
    component: () =>
      import('@/pages/alarmManagement/alarmSetting/alarmSettingAdd.vue'),
    meta: {
      title: '告警中心+告警设置/新增',
      permission: 'alarmSettingList.add',
    },
  },
  {
    path: '/alarmSettingEdit',
    name: 'alarmSettingEdit',
    component: () =>
      import('@/pages/alarmManagement/alarmSetting/alarmSettingAdd.vue'),
    meta: {
      title: '告警中心+告警设置/编辑',
      permission: 'alarmSettingList.edit',
    },
  },
  {
    path: '/alarmSettingDetail',
    name: 'alarmSettingDetail',
    component: () =>
      import('@/pages/alarmManagement/alarmSetting/alarmSettingDetail.vue'),
    meta: {
      title: '告警中心+告警设置/详情',
      permission: 'alarmSettingList.see',
    },
  },
  {
    path: '/alarmNotificationRecordList',
    name: 'alarmNotificationRecordList',
    component: () =>
      import('@/pages/alarmManagement/alarmNotificationRecord/alarmNotificationRecordList.vue'),
    meta: {
      title: '告警中心+告警通知',
      permission: 'alarmNotificationRecordList.see',
    },
  },
  {
    path: '/alarmOrderList',
    name: 'alarmOrderList',
    component: () =>
      import('@/pages/alarmManagement/alarmOrder/alarmOrderList.vue'),
    meta: {
      title: '告警中心+连续停充报警',
      permission: 'alarmOrderList.see',
    },
  },
  {
    path: '/alarmOrderDetail',
    name: 'alarmOrderDetail',
    component: () =>
      import('@/pages/alarmManagement/alarmOrder/alarmOrderDetail.vue'),
    meta: {
      title: '告警中心+连续停充报警/终端订单',
      permission: 'alarmOrderDetail.see',
    },
  },
  {
    path: '/offlineFaultList',
    name: 'offlineFaultList',
    component: () =>
      import('@/pages/alarmManagement/offLineFault/offlineFaultList.vue'),
    meta: {
      title: '告警中心+离线故障次数',
      permission: 'offlineFaultList.see',
    },
  },
  {
    path: '/failureList',
    name: 'failureList',
    component: () =>
      import('@/pages/alarmManagement/failureInfo/failureList.vue'),
    meta: {
      title: '告警中心+故障管理',
      permission: 'failureList.see',
    },
  },
  {
    path: '/failureAdd',
    name: 'failureAdd',
    component: () =>
      import('@/pages/alarmManagement/failureInfo/failureAdd.vue'),
    meta: {
      title: '告警中心+故障管理/新增',
      permission: 'failureList.add',
    },
  },
  {
    path: '/failureEdit',
    name: 'failureEdit',
    component: () =>
      import('@/pages/alarmManagement/failureInfo/failureAdd.vue'),
    meta: {
      title: '告警中心+故障管理/修改',
      permission: 'failureList.edit',
    },
  },
  {
    path: '/realTimeFailureList',
    name: 'realTimeFailureList',
    component: () =>
      import('@/pages/alarmManagement/connectorFailure/realTimeFailureList.vue'),
    meta: {
      title: '告警中心+实时故障',
      permission: 'realTimeFailureList.see',
    },
  },
  {
    path: '/historyFailureList',
    name: 'historyFailureList',
    component: () =>
      import('@/pages/alarmManagement/connectorFailure/historyFailureList.vue'),
    meta: {
      title: '告警中心+历史故障',
      permission: 'historyFailureList.see',
    },
  },
];
